home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Bank smakow / AdobeAIRInstaller.exe / Adobe AIR / Versions / 1.0 / Adobe AIR Application Installer.swf / scripts / SecurityInfo.as < prev    next >
Text File  |  2009-11-20  |  27KB  |  784 lines

  1. package
  2. {
  3.    import components.LocalizedLabel;
  4.    import components.LocalizedText;
  5.    import flash.display.DisplayObject;
  6.    import flash.events.Event;
  7.    import flash.events.MouseEvent;
  8.    import flash.utils.getDefinitionByName;
  9.    import mx.binding.Binding;
  10.    import mx.binding.BindingManager;
  11.    import mx.binding.IBindingClient;
  12.    import mx.binding.IWatcherSetupUtil;
  13.    import mx.containers.HBox;
  14.    import mx.containers.VBox;
  15.    import mx.controls.HRule;
  16.    import mx.controls.Image;
  17.    import mx.controls.LinkButton;
  18.    import mx.controls.Spacer;
  19.    import mx.core.DeferredInstanceFromFunction;
  20.    import mx.core.UIComponentDescriptor;
  21.    import mx.core.mx_internal;
  22.    import mx.events.PropertyChangeEvent;
  23.    import mx.states.AddChild;
  24.    import mx.states.RemoveChild;
  25.    import mx.states.State;
  26.    import mx.styles.CSSStyleDeclaration;
  27.    
  28.    use namespace mx_internal;
  29.    
  30.    public class SecurityInfo extends VBox implements IBindingClient
  31.    {
  32.       
  33.       private static var _watcherSetupUtil:IWatcherSetupUtil;
  34.        
  35.       
  36.       private var _229542092greenCircleIcon:Class;
  37.       
  38.       private var _2057878774redSecurityIcon:Class;
  39.       
  40.       private var _2018223089accessStatusIcon:Image;
  41.       
  42.       private var _265384475moreOptionsButton:LinkButton;
  43.       
  44.       mx_internal var _bindingsByDestination:Object;
  45.       
  46.       public var _SecurityInfo_RemoveChild1:RemoveChild;
  47.       
  48.       private var _1869917749airPackageIcon:Class;
  49.       
  50.       public var _SecurityInfo_HBox3:HBox;
  51.       
  52.       private var _1707366196redBlockedIcon:Class;
  53.       
  54.       public var _SecurityInfo_LocalizedText2:LocalizedText;
  55.       
  56.       private var _354487367systemAccessField:LocalizedLabel;
  57.       
  58.       private var _992840477airIcon:Class;
  59.       
  60.       mx_internal var _watchers:Array;
  61.       
  62.       private var _1197773823appIconBG:Class;
  63.       
  64.       private var _1654957862redCircleIcon:Class;
  65.       
  66.       public var _SecurityInfo_LocalizedLabel2:LocalizedLabel;
  67.       
  68.       public var _SecurityInfo_Image1:Image;
  69.       
  70.       mx_internal var _bindingsBeginWithWord:Object;
  71.       
  72.       private var _embed_mxml_assets_down_arrow_png_1496004634:Class;
  73.       
  74.       private var _703057299yellowSecurityIcon:Class;
  75.       
  76.       mx_internal var _bindings:Array;
  77.       
  78.       private var _406672806identityVerified:Boolean = false;
  79.       
  80.       private var _documentDescriptor_:UIComponentDescriptor;
  81.       
  82.       public function SecurityInfo()
  83.       {
  84.          this._documentDescriptor_ = new UIComponentDescriptor({
  85.             "type":VBox,
  86.             "propertiesFactory":function():Object
  87.             {
  88.                return {"childDescriptors":[new UIComponentDescriptor({
  89.                   "type":Spacer,
  90.                   "propertiesFactory":function():Object
  91.                   {
  92.                      return {"height":14};
  93.                   }
  94.                }),new UIComponentDescriptor({
  95.                   "type":HRule,
  96.                   "propertiesFactory":function():Object
  97.                   {
  98.                      return {
  99.                         "percentWidth":100,
  100.                         "height":2
  101.                      };
  102.                   }
  103.                }),new UIComponentDescriptor({
  104.                   "type":LinkButton,
  105.                   "id":"moreOptionsButton",
  106.                   "events":{
  107.                      "addedToStage":"__moreOptionsButton_addedToStage",
  108.                      "removedFromStage":"__moreOptionsButton_removedFromStage",
  109.                      "click":"__moreOptionsButton_click"
  110.                   },
  111.                   "stylesFactory":function():void
  112.                   {
  113.                      this.icon = _embed_mxml_assets_down_arrow_png_1496004634;
  114.                   },
  115.                   "propertiesFactory":function():Object
  116.                   {
  117.                      return {
  118.                         "labelPlacement":"left",
  119.                         "visible":false
  120.                      };
  121.                   }
  122.                })]};
  123.             }
  124.          });
  125.          this._992840477airIcon = SecurityInfo_airIcon;
  126.          this._1869917749airPackageIcon = SecurityInfo_airPackageIcon;
  127.          this._703057299yellowSecurityIcon = SecurityInfo_yellowSecurityIcon;
  128.          this._2057878774redSecurityIcon = SecurityInfo_redSecurityIcon;
  129.          this._1707366196redBlockedIcon = SecurityInfo_redBlockedIcon;
  130.          this._1654957862redCircleIcon = SecurityInfo_redCircleIcon;
  131.          this._229542092greenCircleIcon = SecurityInfo_greenCircleIcon;
  132.          this._1197773823appIconBG = SecurityInfo_appIconBG;
  133.          this._embed_mxml_assets_down_arrow_png_1496004634 = SecurityInfo__embed_mxml_assets_down_arrow_png_1496004634;
  134.          this._bindings = [];
  135.          this._watchers = [];
  136.          this._bindingsByDestination = {};
  137.          this._bindingsBeginWithWord = {};
  138.          super();
  139.          mx_internal::_document = this;
  140.          if(!this.styleDeclaration)
  141.          {
  142.             this.styleDeclaration = new CSSStyleDeclaration();
  143.          }
  144.          this.styleDeclaration.defaultFactory = function():void
  145.          {
  146.             this.verticalGap = 0;
  147.          };
  148.          this.states = [this._SecurityInfo_State1_c()];
  149.       }
  150.       
  151.       public static function set watcherSetupUtil(param1:IWatcherSetupUtil) : void
  152.       {
  153.          SecurityInfo._watcherSetupUtil = param1;
  154.       }
  155.       
  156.       [Bindable(event="propertyChange")]
  157.       private function get redSecurityIcon() : Class
  158.       {
  159.          return this._2057878774redSecurityIcon;
  160.       }
  161.       
  162.       [Bindable(event="propertyChange")]
  163.       public function get accessStatusIcon() : Image
  164.       {
  165.          return this._2018223089accessStatusIcon;
  166.       }
  167.       
  168.       private function set redSecurityIcon(param1:Class) : void
  169.       {
  170.          var _loc2_:Object = this._2057878774redSecurityIcon;
  171.          if(_loc2_ !== param1)
  172.          {
  173.             this._2057878774redSecurityIcon = param1;
  174.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redSecurityIcon",_loc2_,param1));
  175.          }
  176.       }
  177.       
  178.       private function _SecurityInfo_Spacer2_c() : Spacer
  179.       {
  180.          var _loc1_:Spacer = new Spacer();
  181.          _loc1_.height = 12;
  182.          if(!_loc1_.document)
  183.          {
  184.             _loc1_.document = this;
  185.          }
  186.          return _loc1_;
  187.       }
  188.       
  189.       [Bindable(event="propertyChange")]
  190.       public function get moreOptionsButton() : LinkButton
  191.       {
  192.          return this._265384475moreOptionsButton;
  193.       }
  194.       
  195.       public function set accessStatusIcon(param1:Image) : void
  196.       {
  197.          var _loc2_:Object = this._2018223089accessStatusIcon;
  198.          if(_loc2_ !== param1)
  199.          {
  200.             this._2018223089accessStatusIcon = param1;
  201.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"accessStatusIcon",_loc2_,param1));
  202.          }
  203.       }
  204.       
  205.       private function _SecurityInfo_HBox2_c() : HBox
  206.       {
  207.          var _loc1_:HBox = new HBox();
  208.          if(!_loc1_.document)
  209.          {
  210.             _loc1_.document = this;
  211.          }
  212.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel1_c());
  213.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel2_i());
  214.          return _loc1_;
  215.       }
  216.       
  217.       private function _SecurityInfo_LocalizedText3_c() : LocalizedText
  218.       {
  219.          var _loc1_:LocalizedText = new LocalizedText();
  220.          _loc1_.resourceName = "lblFullAccess";
  221.          _loc1_.bundleName = "SecurityInfo";
  222.          _loc1_.percentWidth = 100;
  223.          if(!_loc1_.document)
  224.          {
  225.             _loc1_.document = this;
  226.          }
  227.          return _loc1_;
  228.       }
  229.       
  230.       private function _SecurityInfo_LocalizedLabel1_c() : LocalizedLabel
  231.       {
  232.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  233.          _loc1_.resourceName = "lblPublisherIdentity";
  234.          _loc1_.bundleName = "SecurityInfo";
  235.          _loc1_.minWidth = 115;
  236.          if(!_loc1_.document)
  237.          {
  238.             _loc1_.document = this;
  239.          }
  240.          return _loc1_;
  241.       }
  242.       
  243.       [Bindable(event="propertyChange")]
  244.       private function get redBlockedIcon() : Class
  245.       {
  246.          return this._1707366196redBlockedIcon;
  247.       }
  248.       
  249.       [Bindable(event="propertyChange")]
  250.       private function get airPackageIcon() : Class
  251.       {
  252.          return this._1869917749airPackageIcon;
  253.       }
  254.       
  255.       public function set moreOptionsButton(param1:LinkButton) : void
  256.       {
  257.          var _loc2_:Object = this._265384475moreOptionsButton;
  258.          if(_loc2_ !== param1)
  259.          {
  260.             this._265384475moreOptionsButton = param1;
  261.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"moreOptionsButton",_loc2_,param1));
  262.          }
  263.       }
  264.       
  265.       private function _SecurityInfo_VBox4_c() : VBox
  266.       {
  267.          var _loc1_:VBox = new VBox();
  268.          _loc1_.percentWidth = 100;
  269.          _loc1_.setStyle("horizontalAlign","left");
  270.          _loc1_.setStyle("verticalGap",-3);
  271.          if(!_loc1_.document)
  272.          {
  273.             _loc1_.document = this;
  274.          }
  275.          _loc1_.addChild(this._SecurityInfo_HBox4_c());
  276.          _loc1_.addChild(this._SecurityInfo_LocalizedText3_c());
  277.          return _loc1_;
  278.       }
  279.       
  280.       [Bindable(event="propertyChange")]
  281.       public function get systemAccessField() : LocalizedLabel
  282.       {
  283.          return this._354487367systemAccessField;
  284.       }
  285.       
  286.       public function set identityVerified(param1:Boolean) : void
  287.       {
  288.          var _loc2_:Object = this._406672806identityVerified;
  289.          if(_loc2_ !== param1)
  290.          {
  291.             this._406672806identityVerified = param1;
  292.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"identityVerified",_loc2_,param1));
  293.          }
  294.       }
  295.       
  296.       private function _SecurityInfo_LocalizedText2_i() : LocalizedText
  297.       {
  298.          var _loc1_:LocalizedText = new LocalizedText();
  299.          this._SecurityInfo_LocalizedText2 = _loc1_;
  300.          _loc1_.percentWidth = 100;
  301.          _loc1_.resourceName = "lblPublisherUndetermined";
  302.          _loc1_.bundleName = "SecurityInfo";
  303.          _loc1_.id = "_SecurityInfo_LocalizedText2";
  304.          BindingManager.executeBindings(this,"_SecurityInfo_LocalizedText2",this._SecurityInfo_LocalizedText2);
  305.          if(!_loc1_.document)
  306.          {
  307.             _loc1_.document = this;
  308.          }
  309.          return _loc1_;
  310.       }
  311.       
  312.       private function _SecurityInfo_HBox1_c() : HBox
  313.       {
  314.          var _loc1_:HBox = new HBox();
  315.          _loc1_.percentWidth = 100;
  316.          _loc1_.setStyle("verticalAlign","top");
  317.          _loc1_.setStyle("horizontalGap",14);
  318.          if(!_loc1_.document)
  319.          {
  320.             _loc1_.document = this;
  321.          }
  322.          _loc1_.addChild(this._SecurityInfo_Image1_i());
  323.          _loc1_.addChild(this._SecurityInfo_VBox3_c());
  324.          return _loc1_;
  325.       }
  326.       
  327.       private function set redBlockedIcon(param1:Class) : void
  328.       {
  329.          var _loc2_:Object = this._1707366196redBlockedIcon;
  330.          if(_loc2_ !== param1)
  331.          {
  332.             this._1707366196redBlockedIcon = param1;
  333.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redBlockedIcon",_loc2_,param1));
  334.          }
  335.       }
  336.       
  337.       private function _SecurityInfo_AddChild2_c() : AddChild
  338.       {
  339.          var _loc1_:AddChild = new AddChild();
  340.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._SecurityInfo_VBox2_c);
  341.          return _loc1_;
  342.       }
  343.       
  344.       private function set airPackageIcon(param1:Class) : void
  345.       {
  346.          var _loc2_:Object = this._1869917749airPackageIcon;
  347.          if(_loc2_ !== param1)
  348.          {
  349.             this._1869917749airPackageIcon = param1;
  350.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airPackageIcon",_loc2_,param1));
  351.          }
  352.       }
  353.       
  354.       [Bindable(event="propertyChange")]
  355.       private function get yellowSecurityIcon() : Class
  356.       {
  357.          return this._703057299yellowSecurityIcon;
  358.       }
  359.       
  360.       private function _SecurityInfo_VBox3_c() : VBox
  361.       {
  362.          var _loc1_:VBox = new VBox();
  363.          _loc1_.percentWidth = 100;
  364.          _loc1_.setStyle("horizontalAlign","left");
  365.          _loc1_.setStyle("verticalGap",-3);
  366.          if(!_loc1_.document)
  367.          {
  368.             _loc1_.document = this;
  369.          }
  370.          _loc1_.addChild(this._SecurityInfo_HBox2_c());
  371.          _loc1_.addChild(this._SecurityInfo_LocalizedText2_i());
  372.          return _loc1_;
  373.       }
  374.       
  375.       private function _SecurityInfo_Image2_i() : Image
  376.       {
  377.          var _loc1_:Image = new Image();
  378.          this.accessStatusIcon = _loc1_;
  379.          _loc1_.id = "accessStatusIcon";
  380.          BindingManager.executeBindings(this,"accessStatusIcon",this.accessStatusIcon);
  381.          if(!_loc1_.document)
  382.          {
  383.             _loc1_.document = this;
  384.          }
  385.          return _loc1_;
  386.       }
  387.       
  388.       private function _SecurityInfo_RemoveChild1_i() : RemoveChild
  389.       {
  390.          var _loc1_:RemoveChild = new RemoveChild();
  391.          this._SecurityInfo_RemoveChild1 = _loc1_;
  392.          BindingManager.executeBindings(this,"_SecurityInfo_RemoveChild1",this._SecurityInfo_RemoveChild1);
  393.          return _loc1_;
  394.       }
  395.       
  396.       public function __moreOptionsButton_removedFromStage(param1:Event) : void
  397.       {
  398.          this.moreOptionsButton.visible = false;
  399.       }
  400.       
  401.       private function _SecurityInfo_LocalizedLabel4_i() : LocalizedLabel
  402.       {
  403.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  404.          this.systemAccessField = _loc1_;
  405.          _loc1_.resourceName = "lblUnrestricted";
  406.          _loc1_.bundleName = "SecurityInfo";
  407.          _loc1_.styleName = "formItemText";
  408.          _loc1_.id = "systemAccessField";
  409.          if(!_loc1_.document)
  410.          {
  411.             _loc1_.document = this;
  412.          }
  413.          return _loc1_;
  414.       }
  415.       
  416.       public function __moreOptionsButton_click(param1:MouseEvent) : void
  417.       {
  418.          this.openPanel();
  419.       }
  420.       
  421.       private function _SecurityInfo_bindingExprs() : void
  422.       {
  423.          var _loc1_:* = undefined;
  424.          _loc1_ = LocalizationManager.getInstance().getString("lblMoreOptions","SecurityInfo");
  425.          _loc1_ = this.moreOptionsButton;
  426.          _loc1_ = !!this.identityVerified ? this.greenCircleIcon : this.redCircleIcon;
  427.          _loc1_ = !!this.identityVerified ? "lblVerified" : "lblUnknown";
  428.          _loc1_ = !this.identityVerified;
  429.          _loc1_ = !this.identityVerified;
  430.          _loc1_ = !this.identityVerified;
  431.          _loc1_ = !this.identityVerified;
  432.          _loc1_ = this.redCircleIcon;
  433.       }
  434.       
  435.       public function set systemAccessField(param1:LocalizedLabel) : void
  436.       {
  437.          var _loc2_:Object = this._354487367systemAccessField;
  438.          if(_loc2_ !== param1)
  439.          {
  440.             this._354487367systemAccessField = param1;
  441.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"systemAccessField",_loc2_,param1));
  442.          }
  443.       }
  444.       
  445.       private function _SecurityInfo_Spacer4_c() : Spacer
  446.       {
  447.          var _loc1_:Spacer = new Spacer();
  448.          _loc1_.height = 10;
  449.          if(!_loc1_.document)
  450.          {
  451.             _loc1_.document = this;
  452.          }
  453.          return _loc1_;
  454.       }
  455.       
  456.       private function _SecurityInfo_LocalizedText1_c() : LocalizedText
  457.       {
  458.          var _loc1_:LocalizedText = new LocalizedText();
  459.          _loc1_.percentWidth = 100;
  460.          _loc1_.useHTML = true;
  461.          _loc1_.resourceName = "msgPotentialSecurityRisk";
  462.          _loc1_.bundleName = "SecurityInfo";
  463.          if(!_loc1_.document)
  464.          {
  465.             _loc1_.document = this;
  466.          }
  467.          return _loc1_;
  468.       }
  469.       
  470.       private function _SecurityInfo_HBox4_c() : HBox
  471.       {
  472.          var _loc1_:HBox = new HBox();
  473.          if(!_loc1_.document)
  474.          {
  475.             _loc1_.document = this;
  476.          }
  477.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel3_c());
  478.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel4_i());
  479.          return _loc1_;
  480.       }
  481.       
  482.       [Bindable(event="propertyChange")]
  483.       public function get identityVerified() : Boolean
  484.       {
  485.          return this._406672806identityVerified;
  486.       }
  487.       
  488.       public function __moreOptionsButton_addedToStage(param1:Event) : void
  489.       {
  490.          this.moreOptionsButton.visible = true;
  491.       }
  492.       
  493.       override public function initialize() : void
  494.       {
  495.          var target:SecurityInfo = null;
  496.          var watcherSetupUtilClass:Object = null;
  497.          mx_internal::setDocumentDescriptor(this._documentDescriptor_);
  498.          var bindings:Array = this._SecurityInfo_bindingsSetup();
  499.          var watchers:Array = [];
  500.          target = this;
  501.          if(_watcherSetupUtil == null)
  502.          {
  503.             watcherSetupUtilClass = getDefinitionByName("_SecurityInfoWatcherSetupUtil");
  504.             watcherSetupUtilClass["init"](null);
  505.          }
  506.          _watcherSetupUtil.setup(this,function(param1:String):*
  507.          {
  508.             return target[param1];
  509.          },bindings,watchers);
  510.          var i:uint = 0;
  511.          while(i < bindings.length)
  512.          {
  513.             Binding(bindings[i]).execute();
  514.             i++;
  515.          }
  516.          mx_internal::_bindings = mx_internal::_bindings.concat(bindings);
  517.          mx_internal::_watchers = mx_internal::_watchers.concat(watchers);
  518.          super.initialize();
  519.       }
  520.       
  521.       private function _SecurityInfo_LocalizedLabel3_c() : LocalizedLabel
  522.       {
  523.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  524.          _loc1_.resourceName = "lblSystemAccess";
  525.          _loc1_.bundleName = "SecurityInfo";
  526.          _loc1_.minWidth = 115;
  527.          if(!_loc1_.document)
  528.          {
  529.             _loc1_.document = this;
  530.          }
  531.          return _loc1_;
  532.       }
  533.       
  534.       private function _SecurityInfo_VBox2_c() : VBox
  535.       {
  536.          var _loc1_:VBox = new VBox();
  537.          _loc1_.percentWidth = 100;
  538.          _loc1_.setStyle("verticalGap",0);
  539.          if(!_loc1_.document)
  540.          {
  541.             _loc1_.document = this;
  542.          }
  543.          _loc1_.addChild(this._SecurityInfo_LocalizedText1_c());
  544.          _loc1_.addChild(this._SecurityInfo_Spacer3_c());
  545.          _loc1_.addChild(this._SecurityInfo_HBox1_c());
  546.          _loc1_.addChild(this._SecurityInfo_Spacer4_c());
  547.          _loc1_.addChild(this._SecurityInfo_HBox3_i());
  548.          return _loc1_;
  549.       }
  550.       
  551.       private function set greenCircleIcon(param1:Class) : void
  552.       {
  553.          var _loc2_:Object = this._229542092greenCircleIcon;
  554.          if(_loc2_ !== param1)
  555.          {
  556.             this._229542092greenCircleIcon = param1;
  557.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"greenCircleIcon",_loc2_,param1));
  558.          }
  559.       }
  560.       
  561.       private function set redCircleIcon(param1:Class) : void
  562.       {
  563.          var _loc2_:Object = this._1654957862redCircleIcon;
  564.          if(_loc2_ !== param1)
  565.          {
  566.             this._1654957862redCircleIcon = param1;
  567.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redCircleIcon",_loc2_,param1));
  568.          }
  569.       }
  570.       
  571.       private function _SecurityInfo_State1_c() : State
  572.       {
  573.          var _loc1_:State = new State();
  574.          _loc1_.name = "opened";
  575.          _loc1_.overrides = [this._SecurityInfo_RemoveChild1_i(),this._SecurityInfo_AddChild1_c(),this._SecurityInfo_AddChild2_c()];
  576.          return _loc1_;
  577.       }
  578.       
  579.       private function _SecurityInfo_AddChild1_c() : AddChild
  580.       {
  581.          var _loc1_:AddChild = new AddChild();
  582.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._SecurityInfo_Spacer2_c);
  583.          return _loc1_;
  584.       }
  585.       
  586.       private function _SecurityInfo_Image1_i() : Image
  587.       {
  588.          var _loc1_:Image = new Image();
  589.          this._SecurityInfo_Image1 = _loc1_;
  590.          _loc1_.id = "_SecurityInfo_Image1";
  591.          BindingManager.executeBindings(this,"_SecurityInfo_Image1",this._SecurityInfo_Image1);
  592.          if(!_loc1_.document)
  593.          {
  594.             _loc1_.document = this;
  595.          }
  596.          return _loc1_;
  597.       }
  598.       
  599.       private function set airIcon(param1:Class) : void
  600.       {
  601.          var _loc2_:Object = this._992840477airIcon;
  602.          if(_loc2_ !== param1)
  603.          {
  604.             this._992840477airIcon = param1;
  605.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airIcon",_loc2_,param1));
  606.          }
  607.       }
  608.       
  609.       [Bindable(event="propertyChange")]
  610.       private function get greenCircleIcon() : Class
  611.       {
  612.          return this._229542092greenCircleIcon;
  613.       }
  614.       
  615.       private function _SecurityInfo_Spacer3_c() : Spacer
  616.       {
  617.          var _loc1_:Spacer = new Spacer();
  618.          _loc1_.height = 10;
  619.          if(!_loc1_.document)
  620.          {
  621.             _loc1_.document = this;
  622.          }
  623.          return _loc1_;
  624.       }
  625.       
  626.       [Bindable(event="propertyChange")]
  627.       private function get redCircleIcon() : Class
  628.       {
  629.          return this._1654957862redCircleIcon;
  630.       }
  631.       
  632.       private function _SecurityInfo_bindingsSetup() : Array
  633.       {
  634.          var binding:Binding = null;
  635.          var result:Array = [];
  636.          binding = new Binding(this,function():String
  637.          {
  638.             var _loc1_:* = LocalizationManager.getInstance().getString("lblMoreOptions","SecurityInfo");
  639.             return _loc1_ == undefined ? null : String(_loc1_);
  640.          },function(param1:String):void
  641.          {
  642.             moreOptionsButton.label = param1;
  643.          },"moreOptionsButton.label");
  644.          result[0] = binding;
  645.          binding = new Binding(this,function():DisplayObject
  646.          {
  647.             return moreOptionsButton;
  648.          },function(param1:DisplayObject):void
  649.          {
  650.             _SecurityInfo_RemoveChild1.target = param1;
  651.          },"_SecurityInfo_RemoveChild1.target");
  652.          result[1] = binding;
  653.          binding = new Binding(this,function():Object
  654.          {
  655.             return !!identityVerified ? greenCircleIcon : redCircleIcon;
  656.          },function(param1:Object):void
  657.          {
  658.             _SecurityInfo_Image1.source = param1;
  659.          },"_SecurityInfo_Image1.source");
  660.          result[2] = binding;
  661.          binding = new Binding(this,function():String
  662.          {
  663.             var _loc1_:* = !!identityVerified ? "lblVerified" : "lblUnknown";
  664.             return _loc1_ == undefined ? null : String(_loc1_);
  665.          },function(param1:String):void
  666.          {
  667.             _SecurityInfo_LocalizedLabel2.resourceName = param1;
  668.          },"_SecurityInfo_LocalizedLabel2.resourceName");
  669.          result[3] = binding;
  670.          binding = new Binding(this,function():Boolean
  671.          {
  672.             return !identityVerified;
  673.          },function(param1:Boolean):void
  674.          {
  675.             _SecurityInfo_LocalizedText2.includeInLayout = param1;
  676.          },"_SecurityInfo_LocalizedText2.includeInLayout");
  677.          result[4] = binding;
  678.          binding = new Binding(this,function():Boolean
  679.          {
  680.             return !identityVerified;
  681.          },function(param1:Boolean):void
  682.          {
  683.             _SecurityInfo_LocalizedText2.visible = param1;
  684.          },"_SecurityInfo_LocalizedText2.visible");
  685.          result[5] = binding;
  686.          binding = new Binding(this,function():Boolean
  687.          {
  688.             return !identityVerified;
  689.          },function(param1:Boolean):void
  690.          {
  691.             _SecurityInfo_HBox3.includeInLayout = param1;
  692.          },"_SecurityInfo_HBox3.includeInLayout");
  693.          result[6] = binding;
  694.          binding = new Binding(this,function():Boolean
  695.          {
  696.             return !identityVerified;
  697.          },function(param1:Boolean):void
  698.          {
  699.             _SecurityInfo_HBox3.visible = param1;
  700.          },"_SecurityInfo_HBox3.visible");
  701.          result[7] = binding;
  702.          binding = new Binding(this,function():Object
  703.          {
  704.             return redCircleIcon;
  705.          },function(param1:Object):void
  706.          {
  707.             accessStatusIcon.source = param1;
  708.          },"accessStatusIcon.source");
  709.          result[8] = binding;
  710.          return result;
  711.       }
  712.       
  713.       public function openPanel() : void
  714.       {
  715.          currentState = "opened";
  716.       }
  717.       
  718.       [Bindable(event="propertyChange")]
  719.       private function get airIcon() : Class
  720.       {
  721.          return this._992840477airIcon;
  722.       }
  723.       
  724.       private function _SecurityInfo_HBox3_i() : HBox
  725.       {
  726.          var _loc1_:HBox = new HBox();
  727.          this._SecurityInfo_HBox3 = _loc1_;
  728.          _loc1_.percentWidth = 100;
  729.          _loc1_.setStyle("verticalAlign","top");
  730.          _loc1_.setStyle("horizontalGap",14);
  731.          _loc1_.id = "_SecurityInfo_HBox3";
  732.          BindingManager.executeBindings(this,"_SecurityInfo_HBox3",this._SecurityInfo_HBox3);
  733.          if(!_loc1_.document)
  734.          {
  735.             _loc1_.document = this;
  736.          }
  737.          _loc1_.addChild(this._SecurityInfo_Image2_i());
  738.          _loc1_.addChild(this._SecurityInfo_VBox4_c());
  739.          return _loc1_;
  740.       }
  741.       
  742.       private function _SecurityInfo_LocalizedLabel2_i() : LocalizedLabel
  743.       {
  744.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  745.          this._SecurityInfo_LocalizedLabel2 = _loc1_;
  746.          _loc1_.bundleName = "SecurityInfo";
  747.          _loc1_.styleName = "formItemText";
  748.          _loc1_.id = "_SecurityInfo_LocalizedLabel2";
  749.          BindingManager.executeBindings(this,"_SecurityInfo_LocalizedLabel2",this._SecurityInfo_LocalizedLabel2);
  750.          if(!_loc1_.document)
  751.          {
  752.             _loc1_.document = this;
  753.          }
  754.          return _loc1_;
  755.       }
  756.       
  757.       private function set yellowSecurityIcon(param1:Class) : void
  758.       {
  759.          var _loc2_:Object = this._703057299yellowSecurityIcon;
  760.          if(_loc2_ !== param1)
  761.          {
  762.             this._703057299yellowSecurityIcon = param1;
  763.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"yellowSecurityIcon",_loc2_,param1));
  764.          }
  765.       }
  766.       
  767.       private function set appIconBG(param1:Class) : void
  768.       {
  769.          var _loc2_:Object = this._1197773823appIconBG;
  770.          if(_loc2_ !== param1)
  771.          {
  772.             this._1197773823appIconBG = param1;
  773.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconBG",_loc2_,param1));
  774.          }
  775.       }
  776.       
  777.       [Bindable(event="propertyChange")]
  778.       private function get appIconBG() : Class
  779.       {
  780.          return this._1197773823appIconBG;
  781.       }
  782.    }
  783. }
  784.